ia.Report Class
Used to build and manage widgets.
Constructor
ia.Report
-
reportContainer
Parameters:
-
reportContainer
JQUERY ElementThe report container.
Item Index
Methods
- addButton
- addCallout
- addComponent
- addEventListener
- addImage
- addPanel
- addText
- addWidget
- build
- closePopups
- dispatchEvent
- displayEvaluationMessage
- endProgress
- endProgress
- getButton
- getButtons
- getCallout
- getCallouts
- getComponent
- getComponents
- getImage
- getImages
- getPanel
- getPanels
- getText
- getTexts
- getWidget
- getWidgets
- removeListener
- removeWidgets
- startProgress
- startProgress
- updateDynamicText
Methods
addComponent
-
id
-
component
Adds a component.
Parameters:
-
id
StringThe component id.
-
component
ObjectThe component to add.
addEventListener
-
eventType
-
fnc
-
obj
Add an event listener.
Parameters:
-
eventType
StringThe type of event to listen for.
-
fnc
FunctionThe function to call when the event occurs.
-
obj
ObjectAn optional parent object.
build
-
callbackFnc
Builds a set of widgets based on the passed config object.
Parameters:
-
callbackFnc
FunctionFunction called when build is complete.
closePopups
-
id
Closes all popup windows except the one with the passed id.
Parameters:
-
id
StringThe popup id that should not be closed.
dispatchEvent
-
event
Dispatch an event to the listeners.
Parameters:
-
event
ObjectThe event object.
displayEvaluationMessage
-
panel
Displays the evaluation message.
Parameters:
-
panel
ia.PanelThe panel to hold the message.
endProgress
-
id
Ends the progress bar.
Parameters:
-
id
StringThe id of the progress bar.
endProgress
-
id
Allows report interaction.
Parameters:
-
id
StringThe id of the interaction blocker.
getButton
-
id
Returns the component that corresponds to the id.
Parameters:
-
id
StringThe id.
Returns:
getCallout
-
id
Returns the callout that corresponds to the id.
Parameters:
-
id
StringThe id.
Returns:
getCallouts
()
ia.CalloutBox[]
Returns all callouts.
Returns:
getComponent
-
id
Returns the component that corresponds to the id.
Parameters:
-
id
StringThe id.
Returns:
getComponents
()
Object
Returns all components.
Returns:
getImage
-
id
Returns the image that corresponds to the id.
Parameters:
-
id
StringThe id.
Returns:
getPanel
-
id
Returns the panel that corresponds to the id.
Parameters:
-
id
StringThe id.
Returns:
getText
-
id
Returns the text that corresponds to the id.
Parameters:
-
id
StringThe id.
Returns:
getWidget
-
id
Returns the widget that corresponds to the id.
Parameters:
-
id
StringThe id.
Returns:
removeListener
-
obj
Removes all event listeners for the given object.
Parameters:
-
obj
ObjectThe object.
removeWidgets
()
Removes all widgets.
startProgress
-
id
-
showWaitCursor
-
callbackFnc
Bloacks report interaction.
Parameters:
-
id
StringThe id of the interaction blocker.
-
showWaitCursor
BooleanShould wait cursor be displayed.
-
callbackFnc
FunctionThe callbackFnc gets called once the progress container is ready.
startProgress
-
id
-
callbackFnc
Starts the progress bar.
Parameters:
-
id
StringThe id of the progress bar.
-
callbackFnc
FunctionThe callbackFnc gets called once the progress container is ready.
updateDynamicText
-
textSubstitution
Updates dynamic text of widgets.
Parameters:
-
textSubstitution
ia.TextSubstitutionThe TextSubstitution object.
Properties
container
JQUERY Element
The container that holds the object.
evaluation
Boolean
Is it an evaluation version.
Default: true
highlightColor
String
The report highlight color.
highlightOpacity
Number
The report highlight opacity.
Default: 0.3
selectionColor
String
The report selection color.
selectionOpacity
Number
The report selection opacity.
Default: 0.3
template
String
The template number.
uid
String
Unique id.
Default: ""
version
String
The version number.
webMapData
ia.WebMapData
An ArcGIS Web Map object.